package lab01;

public class Test05 {
    public static void main(String[] args) {
        int i = 1, sum = 0, n = 100;
        do {
            sum = sum + i;
            i++;
        }
        while (i <= n);
        System.out.println(sum);
    }
}

